//
//  Person.h
//  Object-C Category
//
//  Created by quentin on 15/9/17.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import <Foundation/Foundation.h>

#pragma mark -NSObject

@interface Person : NSObject
{
@private
    NSString* _name;
    int _age;
}

@property(nonatomic,copy) NSString* name;
@property(nonatomic)int age;

-(void) test;
-(void) typing;


@end

#pragma mark -Creation
@interface Person (Creation)

+(id) PersonWithName:(NSString*)aName;

+(id) PersonWithName:(NSString *)aName withAge:(int)age;

-(id) initWithName:(NSString*)aName;

-(id) initWithName:(NSString*)aName withAge:(int)age;

@end
#pragma mark - Lift

@interface Person (Life)

-(void) eat;

-(void) sleep;

-(void) play;

@end